Open / Close Eyes
Author: NingNing
Last update: 2022-05-28
You can copy the code below:
init python:
def eyewarp(x):
return x**1.33
openEye = ImageDissolve("open.png", 0.8, ramplen=180, reverse=False, time_warp=eyewarp)
closeEye = ImageDissolve("close.png", 0.8, ramplen=180, reverse=False, time_warp=eyewarp)
image black:
Solid("#000000")
image white:
Solid("#ffffff")
- 0.8 = seconds, you can change it as you wish
- ramplen = angle at which the image dissolves
- reverse = If True, black pixels will dissolve before white pixels.
eyes open and closed image(png):
Use the effect
When you want to use it, just type with openEye
or with closeEye
Example:
scene bed
with openEye
scene black
with closeEye
Usage example (with a plot):
scene white
with openEye
scene black
with closeEye
". . ."
"You slowly opened your eyes"
with eye_open
scene room
with openEye
Effect preview:
This post is over now~ You can give me / my website a clap if this help you! My website --> https://spaceofningningen.blogspot.com/ Thank you for your support~